package my.bc.webdav.model;

/**
 * declare this class as abstract just don't want it to be instanted by mistake
 * 
 * @author brightchen
 *
 */
public abstract class DavNode
{
  private String name;
  private DavNodeType nodeType;
  private boolean valid;
  
  public String getName()
  {
    return name;
  }
  public void setName( String name )
  {
    this.name = name;
  }
  public DavNodeType getNodeType()
  {
    return nodeType;
  }
  protected void setNodeType( DavNodeType nodeType )
  {
    this.nodeType = nodeType;
  }
  public boolean isValid()
  {
    return valid;
  }
  public void setValid( boolean valid )
  {
    this.valid = valid;
  }
  
}
